package com.jackiechancinema.ssm.service.Inte;

import com.jackiechancinema.ssm.bo.ContractBo;
import com.jackiechancinema.ssm.bo.DailyBo;
import com.jackiechancinema.ssm.entity.Contract;
import com.jackiechancinema.ssm.entity.Daily;
import com.jackiechancinema.ssm.vo.PageVo;
import com.jackiechancinema.ssm.vo.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface DailyService {
    //新增
    R insert(Daily daily);
    //查询
    PageVo<Daily> queryPage(DailyBo dailyBo);

    //删除
    R deleteById(int id);
    //批量删除
    R deleteBatch(List<Daily> dailys);
    //修改
    R update(Daily daily);
    R insertBatch(MultipartFile file);

    void exportExcel(DailyBo bo, HttpServletResponse response);
}
